/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package factory;

import dao.DBOptionDao;
import dao.impl.DBOptionImpl;

/**
 *
 * @author Administrator
 */
public class DBFactory {
    static DBOptionDao dao = null;
    private DBFactory(){
    }
    
    public static DBOptionDao getDBOption() {
        if(dao == null) {
            dao = new DBOptionImpl();
        }
        return dao;
    }
}
